import request from '@/utils/request'
//管理员登录
export function login(admin) {
  return request({
    url: '/educenter/admin/login',
    method: 'post',
    data: admin
  })
}
//获取管理员信息
export function getInfo() {
  return request({
    url: '/educenter/admin/info',
    method: 'get',
  })
}


